<?php
date_default_timezone_set("Asia/Ho_Chi_Minh");

$arrconnect = array( 
	"host"=>"localhost",
	"db"=>"thubong",
	"user"=>"root",
	"pass"=>""
);

//$url ='http://www.thunhoibong.net/';

$url ='http://'. $_SERVER['SERVER_NAME'] .'/thubong/';

$path = dirname(__FILE__);

define("caching",true,true);
define('ZIPHTML',true, true);

define("time_cache",3600,true);
define("KT",'KhiThe',true);

define("url_base",$url,true);
define("path_base",$path,true);

define("path_app",$path.'/applications/',true);
define("path_lib",$path.'/library/',true);
define("path_upload",$path.'/uploads/',true);

define("dir_publics",'publics',true);
define("dir_admin",'admin',true);

define("url_defaults",url_base.dir_publics,true);
define("path_publics",path_app.dir_publics.'/',true);
define("path_admin",path_app.dir_admin.'/',true);

define("path_module",path_publics.'com_systems/modules/',true);

////Datebase////
$prefix = "tbong_";

define("prefix",$prefix,true); 
//TinTuc
define("news",$prefix."news",true);
define("news_menu",$prefix."news_menu",true);
define("news_tags",$prefix."news_tags",true);
define("intros",$prefix."intros",true);

//SanPham
define("products",$prefix."products",true);
define("products_menu",$prefix."products_menu",true);
define("manufacturers",$prefix."manufacturers",true);
define("categorys",$prefix."categorys",true);
define("subscribed",$prefix."subscribed",true);


define('modules',$prefix.'modules',true);
define('modules_position',$prefix.'modules_position',true);
define('components',$prefix.'components',true);

//cai dat
define('settings',$prefix.'settings',true);

//comments
define("comments",$prefix."comments",true);

//GioHang
define("shoppingcarts",$prefix."shoppingcarts",true);
define("shoppingcarts_detail",$prefix."shoppingcarts_detail",true);
define("rates",$prefix."rates",true);

//LinhTinh
define("supports",$prefix."supports",true);
define("users",$prefix."users",true);
define("contacts",$prefix."contacts",true);
define("links",$prefix."links",true);

//Email
define('Emailprotocol' , 'smtp' , true);
define('Emailport' , 465 , true);
define('Emailhostname' , 'smtp.gmail.com' , true);
define('Emailuser' , 'thunhoibong.net@gmail.com ' , true);
define('Emailpassword' , 'mothaiba123' , true);
define('EmailShop' , 'thunhoibong.net@gmail.com' , true);
define('NameShop' , 'Nguyễn Thị Mỹ Nhân' , true);

// Ngan Luong
define('MERCHANT_ID', '25422');
define('MERCHANT_PASS', 'mothaiba123');
define('RECEIVER','viethopvn@gmail.com');
define('URL_WS', 'https://www.nganluong.vn/micro_checkout_api.php?wsdl');

?>